WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
wolf::CostFunctionWrapper Class Reference

Ceres cost function of a wolf factor (with analytic or automatic Jacobians) More...

#include <core/ceres_wrapper/cost_function_wrapper.h>

Inheritance diagram for wolf::CostFunctionWrapper:
[legend]

Public Member Functions

 CostFunctionWrapper (FactorBasePtr _factor_ptr)
 Constructor from the factor, setting the residual and state block sizes. More...
 
 ~CostFunctionWrapper () override
 
bool Evaluate (const double *const *parameters, double *residuals, double **jacobians) const override
 
FactorBasePtr getFactor () const
 Returns the wrapped factor. More...
 

Detailed Description

Ceres cost function of a wolf factor (with analytic or automatic Jacobians)

Constructor & Destructor Documentation

◆ CostFunctionWrapper()

wolf::CostFunctionWrapper::CostFunctionWrapper ( FactorBasePtr  _factor_ptr)
inline

Constructor from the factor, setting the residual and state block sizes.

◆ ~CostFunctionWrapper()

wolf::CostFunctionWrapper::~CostFunctionWrapper ( )
inlineoverride

Member Function Documentation

◆ Evaluate()

bool wolf::CostFunctionWrapper::Evaluate ( const double *const *  parameters,
double *  residuals,
double **  jacobians 
) const
inlineoverride

◆ getFactor()

FactorBasePtr wolf::CostFunctionWrapper::getFactor ( ) const
inline

Returns the wrapped factor.


The documentation for this class was generated from the following file: